package com.dragon.modules.yuegou.mapper.wallet;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.modules.yuegou.entity.wallet.MemberCardGrantEntity;
import com.dragon.modules.yuegou.model.wallet.MemberCardGrant;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 企业发放会员悦卡（发放明细） Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-03-05 11:27:23
 * @version 2.0
 */
@Component("waltMemberCardGrantMapper")
public interface MemberCardGrantMapper extends BaseMapper<MemberCardGrantEntity> {

    /**
     * 根据发放id查询发放详情列表
     * @param cardGrantId
     * @return
     */
    List<MemberCardGrant> findListByCardGrantId(@Param("cardGrandId") String cardGrantId);
	
}
